package cn.lingyangwl.agile.food.core.assembly;

import cn.lingyangwl.agile.food.model.entity.StockDocumentDetail;
import cn.lingyangwl.agile.food.model.rqrs.sku.SkuInOutDetailResp;
import cn.lingyangwl.agile.food.model.rqrs.sku.SkuInOutDetailSaveReq;
import cn.lingyangwl.agile.food.model.rqrs.sku.SkuInOutDetailUpdateReq;
import org.mapstruct.Mapper;

/**
 * 库存单据明细
 *
 * @author shenguangyang
 */
@Mapper(componentModel = "spring")
public interface StockDocumentDetailAssembly {
  SkuInOutDetailResp toSkuStockInOutDetailResp(StockDocumentDetail source);
  
  StockDocumentDetail toSkuStockInOutDetail(SkuInOutDetailSaveReq source);
  
  StockDocumentDetail toSkuStockInOutDetail(SkuInOutDetailUpdateReq source);
}
